package com.sdx.console.live.dao;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.sdx.console.live.entity.CourseLive;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * 直播 Dao
 */
@SqlResource("live.courseLive")
public interface CourseLiveDao extends BaseMapper<CourseLive>{
    public PageQuery<CourseLive> queryByCondition(PageQuery query);
    public void batchDelCourseLiveByIds( List<String> ids);

    List<BaseEntity> getLecture(String teacherId);
}